import request from '@/utils/request';

// export function getData(data) {
//     return request({
//         url: '/admin/user/getData',
//         method: 'post',
//         data
//     });
// }

export function getAllCities(data) {
    return request({
        url: '/je/dashboard/getAllCities',
        method: 'post',
        data
    });
}

export function getAllStores(data) {
    return request({
        url: '/je/dashboard/getAllStores',
        method: 'post',
        data
    });
}

export function getStoreBldgData(data) {
    return request({
        url: '/je/dashboard/getStoreBldgData',
        method: 'post',
        data
    });
}

export function getStoreIncomeData1(data) {
    return request({
        url: '/je/dashboard/getStoreIncomeData1',
        method: 'post',
        data
    });
}

export function getStoreIncomeData2(data) {
    return request({
        url: '/je/dashboard/getStoreIncomeData2',
        method: 'post',
        data
    });
}

export function getStoreAvgData1(data) {
    return request({
        url: '/je/dashboard/getStoreAvgData1',
        method: 'post',
        data
    });
}

export function getStoreAvgData2(data) {
    return request({
        url: '/je/dashboard/getStoreAvgData2',
        method: 'post',
        data
    });
}


export function getBusinessData(data) {
    return request({
        url: '/je/dashboard/getBusinessData',
        method: 'post',
        data
    });
}


export function getParkLotAndModeDataVo(data) {
    return request({
        url: '/je/dashboard/getParkLotAndModeDataVo',
        method: 'post',
        data
    });
}

/**
 * 房态图
 * @param data
 * @returns {*}
 */
export function getRoomState(data) {
    return request({
        url: '/je/apt/dashboard/getRoomState',
        method: 'post',
        data
    });
}


/**
 * 公寓看板接口
 * */

export function getBasicInfos1(data) {
    return request({
        url: '/je/apt/dashboard/getBasicInfos1',
        method: 'post',
        data
    });
}


export function getBasicInfos2(data) {
    return request({
        url: '/je/apt/dashboard/getBasicInfos2',
        method: 'post',
        data
    });
}


export function getAptPendingData1(data) {
    return request({
        url: '/je/apt/dashboard/getAptPendingData1',
        method: 'post',
        data
    });
}

export function getAptPendingData2(data) {
    return request({
        url: '/je/apt/dashboard/getAptPendingData2',
        method: 'post',
        data
    });
}

export function getAptPendingData3(data) {
    return request({
        url: '/je/apt/dashboard/getAptPendingData3',
        method: 'post',
        data
    });
}


export function getAptPendingData4(data) {
    return request({
        url: '/je/apt/dashboard/getAptPendingData4',
        method: 'post',
        data
    });
}


